<template>
    <trends-form
        :form-data="formData"
        :form-controls="formControls"
        :form-settings-data="formSettingData"
    />
</template>

<script>
export default {
    name: 'Console',
    data() {
        return {
            formData: {"Input1633248521704":"","Textarea1633248523354":"","Select1633248524853":[],"Input1633248531786":"","Switch1633248533069":0,"NaN":"","null":"","SelectV21633248535835":"","Password1633248545934":"","Radio1633248549766":0,"Checkbox1633248551416":[0],"InputNumber1633248558515":0,"Select1633248561781":1,"Slider1633248602109":0,"Textarea1633248624688":""},
            formControls: [{"prev":false,"type":"Input","maxlength":80,"minlength":0,"label":"输入框","selected":false,"disabled":false,"readonly":false,"clearable":false,"placeholder":"输入框","validateEvent":true,"name":"Input1633248521704","width":"46%","id":1633248521704,"inBoxMove":false},{"step":1,"prev":false,"precision":0,"minlength":0,"border":false,"maxlength":100,"controls":true,"label":"步进器","disabled":false,"type":"InputNumber","name":"InputNumber1633248558515","width":"46%","id":1633248558515,"selected":false},{"prev":false,"type":"Select","label":"选择器","multiple":false,"disabled":false,"multipleLimit":0,"clearable":false,"collapseTags":false,"stepStrictly":false,"placeholder":"选择器","options":[{"value":0,"label":"选项一"},{"value":1,"label":"选项二"}],"name":"Select1633248561781","width":"46%","id":1633248561781,"selected":false,"inBoxMove":false},{"rows":2,"prev":false,"minlength":0,"maxlength":300,"label":"文本域","selected":false,"disabled":false,"readonly":false,"type":"Textarea","placeholder":"文本域","validateEvent":true,"name":"Textarea1633248523354","showWordLimit":false,"width":"46%","id":1633248523354,"inBoxMove":false},{"prev":false,"border":false,"type":"Radio","label":"单选框","name":"Radio1633248549766","disabled":false,"options":[{"value":0,"label":"选项一"},{"value":1,"label":"选项二"}],"radioType":"default","size":"medium","width":"46%","id":1633248549766,"selected":false,"inBoxMove":false},{"prev":false,"minlength":0,"maxlength":5,"border":false,"label":"复选框","disabled":false,"name":"Checkbox1633248551416","type":"Checkbox","options":[{"value":0,"label":"选项一","checked":false},{"value":1,"label":"选项二","checked":false}],"width":"46%","id":1633248551416,"selected":false,"inBoxMove":false},{"prev":false,"type":"Select","label":"选择器","multiple":true,"disabled":false,"multipleLimit":0,"clearable":false,"collapseTags":false,"stepStrictly":false,"placeholder":"选择器","options":[{"value":0,"label":"选项一"},{"value":1,"label":"选项二"}],"name":"Select1633248524853","width":"46%","id":1633248524853,"selected":false,"inBoxMove":false},{"rows":5,"prev":false,"minlength":0,"maxlength":800,"label":"文本域","selected":true,"disabled":false,"readonly":false,"type":"Textarea","placeholder":"文本域","validateEvent":true,"name":"Textarea1633248624688","showWordLimit":false,"width":"46%","id":1633248624688,"inBoxMove":false},{"prev":false,"type":"Password","maxlength":80,"minlength":0,"label":"密码框","selected":false,"disabled":false,"readonly":false,"validateEvent":true,"showPassword":false,"placeholder":"密码框","name":"Password1633248545934","width":"46%","id":1633248545934},{"step":1,"prev":false,"minlength":0,"name":"Slider1633248602109","maxlength":100,"type":"Slider","label":"滑  块","disabled":false,"showInput":false,"showToolTip":true,"showInputControls":true,"width":"46%","id":1633248602109,"selected":false},{"prev":false,"multiple":false,"disabled":false,"multipleLimit":0,"clearable":false,"type":"SelectV2","label":"虚拟选择器","collapseTags":false,"stepStrictly":false,"placeholder":"虚拟选择器","options":[{"value":0,"label":"选项一"},{"value":1,"label":"选项二"}],"name":"SelectV21633248535835","width":"46%","id":1633248535835,"selected":false},{"prev":false,"type":"Input","maxlength":80,"minlength":0,"label":"输入框","selected":false,"disabled":false,"readonly":false,"clearable":false,"placeholder":"输入框","validateEvent":true,"name":"Input1633248531786","width":"46%","id":1633248531786},{"widthPx":40,"prev":false,"type":"Switch","disabled":false,"label":"开  关","activeValue":1,"inactiveValue":0,"name":"Switch1633248533069","width":"46%","id":1633248533068,"selected":false},{"prev":false,"plain":false,"round":false,"label":"按钮","type":"Button","buttonType":"","disabled":false,"width":"46%","id":1633248534202,"name":null,"selected":false,"inBoxMove":false}],
            formSettingData: {"inline":false,"labelPosition":"left","labelWidth":90,"hideRequiredAsterisk":false,"showMessage":true,"inlineMessage":false,"size":"medium","disabled":false}        }
    }
}
</script>
